<!DOCTYPE html>
<html>
<?php

include (BASEPATH . 'views/!_frameinit.php');

$this->display( '!assets.php', null );
$assets
	->priority(1000)
		->css('base::960_24')
		->css('base::text')
		->css('menu')
	->priority(0)
		->js('main');

?>
<head>
<?php include (BASEPATH . 'views/!_framehead.php'); ?>
<?php echo "<!-- assets -->\n" . $assets->display() . "<!-- /assets -->\n"; ?>
<!--[if lte IE 8]><link type="text/css" rel="stylesheet" href="/css/main-ie.css"/><![endif]-->
<!--[if lte IE 8]><script type="text/javascript" src="/js/html5.js"></script><![endif]-->
<!--[if lte IE 6]><script type="text/javascript" src="http://enoughie6.com/enough.js"></script><![endif]-->
</head>
<body class="index-frame">

	<header id="mockup-header" class="container_24 clearfix">

		<nav id="menu">
			<?= $this->block('::fullmenu',array('mode'=>'drops')) ?>
		</nav>

		<div class="clear"></div>
	</header>


	<article id="mockup-body-container" class="container_24 clearfix">

		<?
			if (strpos($center,'<h1 ') === false):
				echo '<h1>' . $pagetitle . '</h1>';
				echo '<section class="paper grid_24">' . $center . '</section>';
			else:
				echo $center;
			endif;
		?>

		<div class="clear"></div>
	</article>


	<footer id="mockup-footer" class="container_24 clearfix">

		<p>Page rendered in {{{elapsed}}} seconds and took {{{memory}}} of memory. Rendered on <?php echo date('d.m.Y H:i:s'); ?>. Cache hits/misses: {{{cache_hits}}}/{{{cache_misses}}}.</p>
		<p>Powered by Radiance</p>

	</footer>

</body>
</html>
